package com.example.mypotiota_si.Adapter;

import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import com.example.mypotiota_si.R;

public class ListViewAdapter_dp_jj_cm extends RecyclerView.Adapter<ListViewAdapter_dp_jj_cm.ViewHolder> {

    @NonNull
    @Override
    public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
        View view=View.inflate(parent.getContext(), R.layout.activity_dp,null);
        return new ViewHolder(view);
    }

    @Override
    public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
    }

    @Override
    public int getItemCount() {
        return 0;
    }

    public class ViewHolder extends RecyclerView.ViewHolder {
        private TextView cm_name;
        public ViewHolder(@NonNull View itemView) {
            super(itemView);
            cm_name=itemView.findViewById(R.id.cm_name);
        }

        public void setDatas(String s) {

        }
    }
}
